package org.dromara.assets.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.HashMap;
import java.util.Map;

/**
 * 交易对对象 assets_tokenpair
 *
 * @author Lion Li
 * @date 2025-06-06
 */
@Data
@TableName("assets_tokenpair")
public class AssetsTokenpair {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 1:Binance;2:Huobi;3:ZB;4:BigOne
     */
    private Long platform;

    /**
     * 币种
     */
    private String tokenPair;

    /**
     * 状态,1:已启用,2:未启用
     */
    private Long status;

    /**
     * 备注
     */
    private String comment;

    /**
     * 请求参数
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();


}
